//
//  File.swift
//  NetWork
//
//  Created by Delin Meng 孟德林 on 2018/7/31.
//  Copyright © 2018年 Delin Meng 孟德林. All rights reserved.
//

import Foundation

extension NSNotification.Name {
    
    public struct Task {
    
        public static let DidResume = NSNotification.Name(rawValue: "org.alamofire.notification.name.task.didResume")
        public static let DidSuspend = Notification.Name(rawValue: "org.alamofire.notification.name.task.didSuspend")
        public static let DidCancel = Notification.Name(rawValue: "org.alamofire.notification.name.task.didCancel")
        public static let DidComplete = Notification.Name(rawValue: "org.alamofire.notification.name.task.didComplete")
    
    }
    
}

extension NSNotification {
    
    public struct Key {
        
        public static let Task = "org.alamofire.notification.key.task"
        
        public static let ResponseData = "org.alamofire.notification.key.responseData"
        
    }
    
    
    
    
}
